<script src="js/common.js?v=70"></script>
<div ng-controller="hrmOrgPartCtl">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox">
                    <div class="ibox-content">
                        <form class="form-inline" role="form">
                            <div class="form-group">
                                <label for="class">分类</label> <select chosen
                                                                      class="chosen-select" data-placeholder-text-single="'请选择...'" disable-search="true"
                                                                      id="class" ng-model="topMenuSel"
                                                                      ng-options="item.org_name for item in topMenuOpt"
                                                                      no-results-text="'没有找到相应条目'"
                                                                      style="width: 120px;">
                                <option value=""></option>
                            </select>
                            </div>
                            <button class="btn btn-sm btn-primary" ng-click="query()"
                                    type="submit">查询
                            </button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div style="position: relative; height: 100%">
            <div class="gBqKoW">
                <div class="FnqzS" id="leftcb" style="background: white;">
                    <div class="celaRy">
                        <div js-tree="treeConfig"
                             ng-model="treeData" style="margin-top: 20px; margin-left: 8px" tree="treeInstance"
                             tree-events="ready:readyCB;create_node:createNodeCB"></div>
                    </div>
                </div>
                <div class="TNqaS" id="flagcb">
					<span class="cmRdnZ"> <i class="fa fa-angle-double-right"
                                             id="flagcb2"
                                             style="position: absolute; right: 4px; top: 34%;"></i> <!--  <i
						class="next-icon next-icon-arrow-left next-xs sc-bxivhb bUZGRr"></i> -->
					</span>
                </div>
                <div class="jexhMp">
                    <div class="ibox float-e-margins" tyle="min-height:250px;">
                        <div class="ibox-title">
                            <div class="ibox-tools" style="text-align: left !important">
                                <button class="btn btn-primary btn-xs" ng-click="ok()"
                                        ng-disabled="myForm.$invalid" type="submit">保存
                                </button>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <form class="form-horizontal ng-pristine ng-valid" method="get"
                                  name="myForm" novalidate style="min-height: 250px;">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span
                                            class="text-danger">*</span>名称:</label>
                                    <div class="col-sm-10">
                                        <input class="form-control ng-pristine ng-untouched ng-valid ng-empty" name="name" ng-maxlength="10"
                                               ng-model="item.node_name"
                                               placeholder="请输入内容" required type="text"
                                        >
                                        <div class="text-danger"
                                             ng-if="myForm.name.$dirty && myForm.name.$invalid">
                                            <span ng-if="myForm.name.$error.required"> 输入不能为空 </span> <span
                                                ng-show="myForm.name.$error.maxlength">不能超过20个字符 </span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span
                                            class="text-danger">*</span>组织类型:</label>
                                    <div class="col-sm-10">
                                        <select chosen class="chosen-select" data-placeholder-text-single="'请选择...'"
                                                disable-search="true" ng-model="typeSel"
                                                ng-options="item.name for item in typeOpt" no-results-text="'没有找到相应条目'"
                                                placeholder_text_multiple="'请选择...'"
                                                style="width:100%">
                                            <option value=""></option>
                                        </select>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>